@import "./common.scss";

.wrap {
    header {
        position: relative;

        nav {
            .title {
                a:nth-child(3) {
                    color: #cf0d0d;
                    border-bottom: 3px solid #cf0d0d;
                    font-weight: bold;
                }
            }
        }

        .photo {
            position: absolute;
        }
    }

    main {
        width: 1300px;
        height: 3460px;
        margin: 150px auto;
        background-color: #f0efef;
        display: flex;
        flex-direction: column;
        align-items: center;

        .content_top {
            width: 1200px;
            margin-top: 520px;
            position: relative;
            padding-bottom: 100px;
            border-bottom: 2px solid #b9b9b9;

            .left {
                width: 493px;
                height: 500px;
                font-size: 14px;
                position: relative;
                z-index: 1;

                .imgBox {
                    width: 100%;

                    img {
                        display: block;
                    }
                }

                .infoBox {
                    border: 1px solid #a0a0a0;
                    background-color: #fff;
                    border-top: 0;
                    position: relative;

                    p {
                        line-height: 20px;
                        margin-left: 12px;

                        &:first-of-type {
                            font-size: 18px;
                            line-height: 38px;
                            padding-top: 7px;
                            // padding-bottom: 5px;
                        }

                        span {
                            color: red;
                        }
                    }

                    button {
                        font-size: 14px;
                        position: absolute;
                        bottom: 45px;
                        right: 53px;
                        background-color: #fff;
                    }
                }
            }

            .right {
                width: 747px;
                height: 354px;
                background-color: #fff;
                font-size: 18px;
                line-height: 35px;
                padding: 134px 175px 0;
                position: absolute;
                top: 73px;
                left: 450px;
                z-index: 2;
            }

            .redBorder {
                width: 646px;
                height: 428px;
                border: solid 3px #cf0d0d;
                position: absolute;
                top: 36px;
                left: 450px;
                z-index: 0;
            }
        }

        .content_recom {
            width: 100%;
            height: 535px;
            margin-top: 95px;

            .title {
                width: 290px;
                line-height: 64px;
                text-align: center;
                font-size: 30px;
                color: #cf0d0d;
                border: 3px solid #cf0d0d;
                margin: 0 auto;
            }

            .painters {
                margin-top: 120px;
                display: flex;
                justify-content: center;

                .circle {
                    margin: 7px;

                    .imgBox {
                        width: 186px;
                        height: 186px;
                        border-radius: 50%;
                        border: solid 1px transparent;

                        img {
                            width: 100%;
                            display: block;
                            border: solid 3px transparent;
                            border-radius: 50%;
                        }
                    }

                    .nameBox {
                        font-size: 30px;
                        color: #676666;
                        text-align: center;
                        margin-top: 10px;

                        .empty {
                            width: 186px;
                            height: 22px;
                            margin-top: 20px;
                            border: 5px solid #cf0d0d;
                            border-top: 0;
                            position: relative;
                            display: none;

                            &::before {
                                content: "";
                                display: block;
                                width: 0;
                                height: 0;
                                border-top: 20px solid #cf0d0d;
                                border-right: 12px solid transparent;
                                border-left: 12px solid transparent;
                                position: absolute;
                                top: 20px;
                                left: 76px;
                            }
                        }
                    }

                    &:hover {
                        .imgBox {
                            border: solid 1px #cf0d0d;

                            img {
                                border: solid 3px #cf0d0d;
                                transform: scale(0.90);
                            }
                        }

                        .nameBox {
                            .empty {
                                display: block;
                            }
                        }
                    }
                }
            }
        }

        .content_cf {
            width: 1200px;
            padding: 60px 0;
            border-top: 2px solid #b9b9b9;

            p {
                font-size: 30px;
                line-height: 80px;
                // border: 1px solid #000;
                margin-top: 20px;
                display: flex;

                span {
                    display: inline-block;
                    text-align: center;
                    border-top: 3px solid transparent;
                    border-bottom: 3px solid #b0b0b0;

                    // 最后一个空的span标签设置增长因子
                    &:last-child {
                        flex-grow: 1;
                    }

                }

                .L {
                    width: 300px;
                }

                .M {
                    width: 160px;
                }

                .S {
                    width: 130px;
                }

                .change:hover {
                    color: #cf0d0d;
                    border-top: 3px solid #999898;
                    border-right: 3px solid #999898;
                    border-left: 3px solid #999898;
                    border-bottom: 3px solid transparent;
                }
            }
        }

        .content_bottom {
            width: 1200px;
            height: 1012px;
            display: flex;
            flex-flow: wrap;
            justify-content: space-between;
            align-content: space-between;

            .artist {
                width: 392px;
                height: 500px;
                font-size: 14px;

                &:hover {
                    @extend %hover;
                }

                .imgBox {
                    img {
                        width: 100%;
                        display: block;
                    }
                }

                .infoBox {
                    border: 1px solid #a0a0a0;
                    background-color: #fff;
                    padding-bottom: 25px;
                    border-top: 0;
                    position: relative;

                    p {
                        line-height: 20px;
                        margin-left: 12px;

                        &:first-of-type {
                            line-height: 40px;
                            font-size: 18px;
                            padding-top: 44px;
                            padding-bottom: 25px;
                        }

                        span {
                            color: red;
                        }
                    }

                    button {
                        font-size: 14px;
                        position: absolute;
                        bottom: 94px;
                        right: 17px;
                    }
                }
            }
        }

        .loading {
            margin-top: 75px;
            @extend %loading;
        }

        .backBox {
            @extend %back;
            margin-top: 40px;

        }
    }
}